package cn.itcast.java.api;

/**
 * Author itcast
 * Date 2021/10/9 9:13
 * Desc TODO
 */
public class CarTest {
    public static void main(String[] args) {
        Car car = new Car(4,"白色",2);
        car.setColor("蓝色");
        car.transport(5);

        System.out.println(car.getColor());
    }
}
